<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jquery.min.js"></script>
    <link rel="stylesheet" href="../css/details.css">
</head>

<body>
    <!-- 头部 -->
    <div class="head"></div>

    <main>
        <div class="left">
            <div class="zoom">
                <div class="pic">
                    <img src="" alt="" style="width: 100%; height: 340px" />
                    <div class="mask"></div>
                </div>
                <ul>
                    <li><img src="" alt="" class="one"></li>
                    <li><img src="../img/2.jpg" alt="" class="two"></li>
                    <li><img src="../img/3.jpg" alt="" class="three"></li>
                    <li><img src="../img/4.jpg" alt="" class="four"></li>
                    <li><img src="../img/5.jpg" alt="" class="five"></li>
                </ul>
            </div>

            <div class="magnifier">
                <img src="" alt="">
            </div>
        </div>

        <div class="right">
            <h2 class="title"></h2>
            <p class="price"></p>
            <div class="pei_song">
                <img src="../img/配送.jpg" alt="">
            </div>
            <button class="btn">加入购物车</button>
        </div>
    </main>
    <div class="details"></div>

    <!-- 尾部 -->
    <div class="foot"></div>
    <script>
        // 头尾部复用
        $(function () {
            $('.head').load('http://localhost/xiao_tu_xian/html/2-header.html')
            $('.foot').load('http://localhost/xiao_tu_xian/html/3-footer.html')
        })
    </script>

    <script src="../js/ajax.js"></script>
    <script src="../js/details.js"></script>
    <script src="../js/details2.js"></script>
</body>

</html>